<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        
        var obj = {
            name: '王子恒',
            age: 19,
        }
        // var obj = new Object();// 创建一个空对象   {}
        // obj.name = '王子恒';
        console.log(obj);
        // 所有的对象上一定有 __proto__ 属性，指向它的原型对象，
        console.log(obj.__proto__.toString());
    </script>
</body>
</html>